#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>

using namespace std;

namespace yue
{
	int a = 10;
	double b = 20;

}

using yue::b;

class Parent
{
public:
	int a = 1;
	int b = 2;

	void Print()
	{
		cout << "Im Parent!" << endl;
	}
};


class child :public Parent
{
public:

	int c = 3;
	void Print()
	{
		cout << "Im child!" << endl;
	}
};

int main()
{
	child A;
	Parent B;

	A.Print();
	B.Print();

	return 0;
}